package com.hand.pp.domain;/**
 * @author Estelle@앙수청
 * @date 2019/7/19 14:26
 */

import javax.management.relation.Role;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.List;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/19 14:26
 */

public class UserRole {
    @Id
    private Integer id;

    private String name;

    @Transient
    private List<Role> roleList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }
}
